<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <td>id</td>
        <td>name</td>
        <td>sex</td>
        <td>age</td>
    </tr>
    <tr th:each="user:${list}">
        <Td th:text="${user.id}"></Td>
        <Td th:text="${user.name}"></Td>
        <Td th:text="${user.sex}"></Td>
        <Td th:text="${user.age}"></Td>
    </tr>
</table>
</body>
</html>